package com.lagou.task.factory;

import com.lagou.task.dao.AdminDao;
import com.lagou.task.dao.AdminDaoImp;

public class AdminDaoFactory {
    /**
     * 通过静态工厂模式来实现UserDao实现类对象的创建
     * @return
     */
    public static AdminDao getUserDao(){
        return new AdminDaoImp();
    }
}
